#pragma once
#include "../objcommon.h"
#include "../../equipment/equipment.h"

#define NO_PLAYER_NAME		"GM"	

class Player : public ObjCommon
{
public:
	Player(char* n = NO_PLAYER_NAME);

protected:

#define EQUIP_NUM	6

	Equipment head;
	Equipment body;
	Equipment arm;
	Equipment leg;
	Equipment finger;
	Equipment weapon;

	Equipment* myEquips[EQUIP_NUM];

protected:
	
	void initMyEquips();
	virtual void initVals();
	virtual void update();

public:
	Equipment wear(Equipment& e);
	void showEquipsInfo();
};